package ru.st.selenium.pages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * Created with IntelliJ IDEA.
 * User: gor
 * Date: 04.11.13
 * Time: 15:43
 * To change this template use File | Settings | File Templates.
 */
public class ViewFilmPage extends Page {

    public ViewFilmPage(PageManager pages) {
        super(pages);
    }

    @FindBy(xpath = "//img[@title='Remove']")
    private WebElement removeButton;


    public void clickRemoveButton() {
        removeButton.click();
    }


}
